import request from '@/utils/request'
// 单张图片上传
// 多张图片上传
// getInfo
// export function upload(params) {
//   return request.post('/users/upload', params)
// }

export function upload(params) {
  return request({
    url: '/users/upload',
    method: 'post',
    data: params
  })
}

export function getHtml(params = {}) {
  return request({
    url: '/users/getHtml',
    method: 'post',
    data: params
  })
}

